package rs.etf.es.algorithm;

import java.text.DecimalFormat;

public class Util {

    public static String getDoubleAsString(Double value) {
	if (value != null) {
	    DecimalFormat formater = new DecimalFormat("#.#####");
	    return formater.format(value);
	} else {
	    return "";
	}
    }

}
